package com.lagou.model;

import java.io.Serializable;

public class StudentMessage implements Serializable {

    private static final long serialVersionUID = -3627215322355214727L;
    private String type; // 消息的类型代表具体的业务
    private Student student; // 消息的具体内容

    public StudentMessage(String type, Student student) {
        this.type = type;
        this.student = student;
    }

    public StudentMessage() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }
}
